public class demo71 {
 /*   class Solution {
        public int[] findEvenNumbers(int[] digits) {
            List<Integer> ans = new ArrayList<>();
            int[] cnt_d = new int[10];
            for (int x : digits) {
                cnt_d[x]++;
            }
            for (int i = 100; i < 1000; i += 2) {
                int[] cnt = new int[10];
                boolean flag = true;
                int x = i;
                while (x > 0) {
                    int v = x % 10;
                    cnt[v]++;
                    if (cnt[v] > cnt_d[v]) {
                        flag = false;
                        break;
                    }
                    x /= 10;
                }
                if (flag) {
                    ans.add(i);
                }
            }
            return ans.stream().mapToInt(Integer::intValue).toArray();
        }
    }
*/

}
